package C11_7_ExtractSuperclass.refactorafter;

/**
 * @ClassName : Party
 * @Description :
 * @Author : wukj1
 * @Date: 2022/8/15
 **/
abstract class Party {

    protected String name;

    protected Party(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    abstract public int getAnnualCost();
}
